Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undo for edges #952

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

moerketh
Copy link
Collaborator

Summary:
This change should fix the undo of edges in the model. Both when deleting a node with connected edges and a single edge.

Here is the undo behavior before this change (on the public website):

orig_small.mp4

Here is the undo behavior after this change (locally hosted):

fixed_small.mp4

Description for the changelog:
Register Edges in the x6 model instead of registering Edges as Nodes.

Other info:
Closes #428

Line 14 might need a similar change, but I am not familiar with the compatibility concerns.

@jgadsden jgadsden self-requested a review April 18, 2024 22:00
@jgadsden jgadsden added bug Something isn't working version-2.3 labels Apr 18, 2024
Copy link
Collaborator

@jgadsden jgadsden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

many thanks @moerketh , good to have such an elegant bug fix

@jgadsden jgadsden merged commit a51154e into OWASP:main Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version-2.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undo not fully functional
2 participants